 {[assign var="plan" value="`$result`"]}

<fieldset><legend>用车安排</legend> {[include file="car/plan/_view.tpl"]}</fieldset>

<fieldset><legend>用车需求</legend>
<table>
	<tr align="center">
		<th width="40">序号</th>
		<th>申请人</th>

		<th>路线</th>
		<th>时间</th>
	</tr>
	{[foreach name=outer key=key item=item from=$requirement]} 
	{[assign var="no" value="`$key+$pager->from+1`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$no]}</td>

		<td><a href="javascript:void(0)" onclick="emp({[$item.emp]})" style="color: blue">{[$item.emp_t]}</a></td>

		<td>{[$item.address]}</td>
		<td>{[$item.date]}</td>
	</tr>
	{[/foreach]}
</table>
</fieldset>

<fieldset><legend>相关信息</legend>
<form id="form_edit"><input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td width="20%" align="right">原因：</td>
		<td width="80%" colspan="3"><textarea rows="2" name="reason" cols="55"></textarea></td>
	</tr>
</table>
</form>
</fieldset>
